 <html>
        <head>
                <title>Flex Hello User iFrame app</title>

                <!-- include swfobject library -->
                <script type="text/javascript" src="swf_object.js"></script>
        </head>
        
        <body>
                <script type="text/javascript">
      			
				  //define your flashVars from the URL GET string
				  var flashVars = {};
				  var strHref = window.location.href;
				  if ( strHref.indexOf("?") > -1 ) {
					var strQueryString = strHref.substr(strHref.indexOf("?")+1);
					var aQueryString = strQueryString.split("&");
					for ( var iParam = 0; iParam < aQueryString.length; iParam++ ) {
					  var aParam = aQueryString[iParam].split("=");
					  flashVars[aParam[0]] = aParam[1];
					}
				  }

      			//create your instance of your SWF
				  swfobject.embedSWF("EventItemsList.swf", "flashContent", "100%", "100%", "10.0.0", "expressInstall.swf", flashVars);
				
				function redirect(){
				   if(parent.frames.length==0){
					   location.href="http://apps.facebook.com/stallonshellouser";
				   }
				}
				</script>
			
				<!--  this is where your flash content will be placed when created -->
				<div id="flashContent"></div>
                
        </body>
</html>
